package com.bzframework.pro.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import org.hswebframework.web.api.crud.entity.GenericEntity;
import org.hswebframework.web.crud.annotation.EnableEntityEvent;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @Author bingzhong
 * @Date 2025/4/10 19:29
 * @Description 招生来源
 */

@Table(name = "beiya_channel")
@Getter
@Setter
@Schema(description = "招生来源表")
@EnableEntityEvent //开启实体类crud事件
public class SaleChannelEntity extends GenericEntity<String> {

    @Column
    private String parentid;

    @Column
    private String createtime;

    @Column
    private String name;

    // itemId
    @Column
    private String itemId;

    // 分组id
    @Column
    private String cascadeId;



    @Column
    private String code;

    @Column
    private Integer issys;

    @Column
    private Integer status;

    @Column
    private String describe;

}
